//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "tools\fn_deleteGroup.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

if (!isNil "mso_fnc_deleteGroup") then {
	_this call mso_fnc_deleteGroup;
} else {
	private ["_grp"];
	_grp = _this;
	if (typeName _this == typeName []) then { _grp = _this select 0; };
	if !(isNull _grp) then {
		deleteGroup _grp;
	};
};
TRACE("End");
TMFPROFILERSTOP;